<?php
//喷塑

namespace app\admin\controller\ProduceProcesses;

use app\admin\controller\ProduceProcesses;

class Spray extends ProduceProcesses
{
    protected $middleware = ['app\admin\middleware\TableFields::class'];  //获取表结构，添加在返回数据中
    public $index_not_display_fields = 'id,update_time,projects_id,projects_order_id,processes_id,responsible_id';  //字段不会在后台列表页，字段选择中显示

    public function lists()
    {
        $_GET['processes_id'] = 5; //工序id
        $this->request->withGet($_GET);
        return (new ProduceProcesses(app()))->index();
    }
}